<template>
    <el-table :data="tableData" stripe border style="width:100%;">
        <el-table-column prop="date" label="日期" width="180"></el-table-column>
        <el-table-column prop="name" label="姓名" width="180"></el-table-column>
        <el-table-column prop="address" label="住址" width="300"></el-table-column>
    </el-table>
</template>

<script setup>
const tableData=[
    {data:'2023-02-03',name:'王五',address:'北京市朝阳区'},
    {data:'2023-08-13',name:'王六',address:'北京市昌平区'},
    {data:'2023-05-11',name:'张三',address:'北京市海淀区'},
    {data:'2023-06-20',name:'李四',address:'北京市大兴区'},

]
</script>